package collections;

import java.util.*;

public class Reverse1
{
    public static void main(String args[])
    {
        List list = new ArrayList();
        for (int i = 1; i <= 10; i++)
            list.add(i + " * " + i + " = " + i * i);

        Collections.reverse(list);

        Iterator iter = list.iterator();
        while (iter.hasNext())
            System.out.println(iter.next());
    }
}
